package com.vote.admin.vo.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@ApiModel(value = "投票活动详情数据返回")
@Data
@Builder
public class VoteDetailResult<T> implements Serializable {

    @ApiModelProperty(value = "投票活动id")
    private Integer id;

    @ApiModelProperty(value = "投票活动发起人")
    private String publishName;

    @ApiModelProperty(value = "投票活动名称")
    private String projectName;

    @ApiModelProperty(value = "投票项目类型，0=单选，1=多选")
    private Integer projectChoice;

    @ApiModelProperty(value = "每人每天投票次数")
    private Integer projectRule;

    @ApiModelProperty(value = "投票活动封面")
    private String projectImg;

    @ApiModelProperty(value = "活动描述")
    private String projectDesc;

    @ApiModelProperty(value = "项目投票开始时间，时间格式yyyy-MM-dd HH:mm:ss")
    private String projectStart;

    @ApiModelProperty(value = "项目投票结束时间，时间格式yyyy-MM-dd HH:mm:ss")
    private String projectEnd;

    @ApiModelProperty(value = "投票选项/结果数据集合")
    private T records;

}
